@import "https://fonts.googleapis.com/css?family=Dosis:300,400,500,600,700";

#timeline .timeline-item:after,
header:after,
#timeline .timeline-item:before,
header:before {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body,
html {
    height: 100%;
}

body {
    background: #f9f9f9;
    background-size: cover;
    margin: 0;
    padding: 0;
    font-family: "Helvetica", "Arial", "Tahoma", "Verdana";
    line-height: 20px;
    font-size: 14px;
    color: #726f77;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    font-family: "Dosis", "Arial", "Tahoma", "Verdana";
    font-weight: 500;
}

.project-name {
    text-align: center;
    padding: 10px 0;
}

header {
    background: #2b2e48;
    padding: 10px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
}

header .logo {
    color: #4d73ee;
    float: left;
    font-family: "Dosis", "Arial", "Tahoma", "Verdana";
    font-size: 22px;
    font-weight: 500;
}

header .logo > span {
    color: #aac9f7;
    font-weight: 300;
}

header .social {
    float: right;
}

header .social .btn {
    font-family: "Dosis";
    font-size: 14px;
    margin: 10px 5px;
}

#timeline {
    width: 100%;
    margin: 30px auto;
    position: relative;
    padding: 0 10px;
    transition: all 0.4s ease;
}

#timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: #4d7bee;
    left: 4%;
    top: 0;
    position: absolute;
}

#timeline:after {
    content: "";
    clear: both;
    display: table;
    width: 100%;
}

#timeline .timeline-item {
    margin-bottom: 50px;
    position: relative;
    clear: both;
}

#timeline .timeline-item .timeline-icon {
    position: relative;
    background: #4d73ee;
    width: 50px;
    height: 50px;
    /*position: absolute;*/
    top: 0;
    left: 0%;
    overflow: hidden;
    margin-right: -20px;
    border-radius: 50%;
}

#timeline .timeline-item .timeline-icon svg {
    position: relative;
    top: 14px;
    left: 14px;
}

#timeline .timeline-item .timeline-content {
    width: 85%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

#timeline .timeline-item .timeline-content h2 {
    padding: 15px;
    background: #4d9eee;
    color: #fff;
    margin: -20px -20px 0 -20px;
    font-weight: 300;
    border-radius: 3px 3px 0 0;
}

#timeline .timeline-item .timeline-content:before {
    content: '';
    position: absolute;
    left: 15%;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #4d7bee;
}

#timeline .timeline-item .timeline-content.right {
    float: right;
}

#timeline .timeline-item .timeline-content.right:before {
    content: '';
    right: 45%;
    left: inherit;
    border-left: 0;
    border-right: 7px solid rgba(189, 165, 165, 0);
}

.btn {
    padding: 5px 15px;
    text-decoration: none;
    background: transparent;
    border: 2px solid #7cb7f2;
    color: #7cdcf2;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
    box-shadow: 2px 2px 0 #7cc9f2;
}

.btn:hover {
    box-shadow: none;
    top: 2px;
    left: 2px;
    box-shadow: 2px 2px 0 transparent;
}

@media screen and (max-width: 768px) {
    #timeline {
        margin: 30px;
        padding: 0px;
        width: 90%;
    }

    #timeline:before {
        left: 0;
    }

    #timeline .timeline-item .timeline-content {
        width: 90%;
        float: right;
    }

    #timeline .timeline-item .timeline-content:before,
    #timeline .timeline-item .timeline-content.right:before {
        left: 10%;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid #4d6dee;
    }

    #timeline .timeline-item .timeline-icon {
        right: 0;
    }
}
